package com.wwdx.model.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author liguoliang
 * @date 2018/1/11 10:36
 */
@Data
public abstract class BaseUserInfoDTO {

    private String indate;
    private String nickname;
    private String headimg;

    @Data
    @EqualsAndHashCode(callSuper = true)
    @ToString(callSuper = true)
    public static class GiveOneUserInfoDTO extends BaseUserInfoDTO implements Serializable {
        private String unionid;
        private String bookid;
    }

    @Data
    @EqualsAndHashCode(callSuper = true)
    @ToString(callSuper = true)
    public static class VipUserInfoDTO extends BaseUserInfoDTO implements Serializable{
        private String day;
    }
}